package propertieslinguagem;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;

public class CriaArquivoProperties 
{
	public static void main(String args[])
	{
		Properties propriedades = new Properties();
		propriedades.setProperty("text1", "Japanese text");
		try {
			propriedades.store(new FileOutputStream(new File("LocRes_ja.properties")), "linguagem ingles");
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
